package space.sakana.edusysback.entity.job;

public class Job {

    private int id;
    private String name;
    private int pid;
    private int tid;
    private int open;
    private int close;
    private int finish;
    private String creator;
    private int wait;

    public Job(int id, String name, int pid, int tid, int open, int close) {
        this.id = id;
        this.name = name;
        this.pid = pid;
        this.tid = tid;
        this.open = open;
        this.close = close;
    }

    public Job(String name, int pid, int tid, int open, int close) {
        this.name = name;
        this.pid = pid;
        this.tid = tid;
        this.open = open;
        this.close = close;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getTid() {
        return tid;
    }

    public void setTid(int tid) {
        this.tid = tid;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public int getOpen() {
        return open;
    }

    public void setOpen(int open) {
        this.open = open;
    }

    public int getClose() {
        return close;
    }

    public void setClose(int close) {
        this.close = close;
    }

    public int getFinish() {
        return finish;
    }

    public void setFinish(int finish) {
        this.finish = finish;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public int getWait() {
        return wait;
    }

    public void setWait(int wait) {
        this.wait = wait;
    }
}
